<?php
define('ROOT_PATH','../');
define('TEMPLATE_DIR','gmer/');
require_once(ROOT_PATH.'code/bean/config.inc.php');
require_once(ROOT_PATH.'code/bean/smarty.config.inc.php');
require_once(ROOT_PATH.'code/bean/db_config.inc.php');
require_once(ROOT_PATH.'code/class/gmer/class.gmer_question_class.php');

if(isset($_GET['op'])) $tpl->assign('edit_class','tpl/edit_class.tpl');

//$tpl->assign('class_info','tpl/class_info.tpl');
$tpl->assign('add_class','tpl/add_class.tpl');
$tpl->assign('edit_class','tpl/edit_class.tpl');


$tpl->display('edit_class.html');

?>